Skip to main content
Version: 11.x

Type alias: CreateTRPCProxyClient<TRouter>

CreateTRPCProxyClient: <TRouter> inferRouterProxyClient< TRouter > extends infer $Value ? UntypedClientProperties & keyof $Valueextendsnever ? inferRouterProxyClient< TRouter> :IntersectionError< UntypedClientProperties& keyof$Value> :never

Creates a proxy client and shows type errors if you have query names that collide with built-in properties

Type parameters

Parameter
TRouter extends AnyRouter

Source

packages/client/src/createTRPCClient.ts:111


Generated using TypeDoc and typedoc-plugin-markdown